package design.VisitorPattern;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by looper on 2017/8/25.
 */
public class ObjectStruture {
  public static List<Element> getList(){
    List<Element> elementList = new ArrayList<>();
    elementList.add(new ComputerElement());
    elementList.add(new WapElement());
    return elementList;
  }
}
